import random

def gen(): 
    number = random.randint(4,1000)
    return number